package Object;

//@author A0103535R
/************************************ Abstract Class DSException ***************************/
public class DSException extends Exception{
	private static final long serialVersionUID = 1L;

	public static final String EXCEPTION_MESSAGE_DSTASKSTORE_GET_TASK_LIST= "123";
	
	public static final String EXCEPTION_MESSAGE_DSDATAFILEHANDLER_WRITE_JSONARRAY_TO_FILE = "Error: fail to write data to file";
	public static final String EXCEPTION_MESSAGE_DSDATAFILEHANDLER_LOAD_FROM_FILE = "Error: fail to load data from file";
	public static final String EXCEPTION_MESSAGE_DSDATAFILEHANDLER_INIT_FILE = "Error: cannot find/create the file, doSomething.txt";
	public static final String EXCEPTION_MESSAGE_DSDATAFILEHANDLER_INIT_BUFFERED_WRITER = "Error: fail to write data to file";
	public static final String EXCEPTION_MESSAGE_DSDATAFILEHANDLER_INIT_BUFFERED_READER = "Error: fail to load data from file";
	public static final String EXCEPTION_MESSAGE_DSDATAFILEHANDLER_CONVERT_TO_TASK= "Error: cannot convert data to objects";
	
	public static final String EXCEPTION_MESSAGE_DSSETTINGFILEHANDLER_INIT_SETTING_FILE= "Error: cannot find/create the file, setting.txt";
	public static final String EXCEPTION_MESSAGE_DSSETTINGFILEHANDLER_INIT_SETTING_BUFFERED_READER= "Error: fail to load data from file";
	public static final String EXCEPTION_MESSAGE_DSSETTINGFILEHANDLER_INIT_SETTING_BUFFERED_WRITER= "Error: fail to write data to file";
	public static final String EXCEPTION_MESSAGE_DSSETTINGFILEHANDLER_LOAD_FROM_SETTING_FILE= "Error: fail to load data from file";
	public static final String EXCEPTION_MESSAGE_DSSETTINGFILEHANDLER_WRITE_JSONOBJECT_TO_SETTING_FILE= "Error: fail to write data to file";
	
	public DSException(String message) {
		super(message);
	}
}
